{include file='imobile_header.tpl'}

<div id="topbar">
	<div id="leftnav"> 
		<a href="user_home.php"><img alt="home" src="./include/imobile/iwebkit/images/home.png" /></a>
	</div> 
	<div id="title"> 
		{lang_print id=11340025}
	</div> 
	<div id="rightbutton"><a href="user_friends.php">{lang_print id=11340012}</a></div>
</div>


<div class="searchbox">
	<form action="user_friends.php" method="POST">
		<fieldset><input id="search" placeholder="{lang_print id=11340051}" name="search" type="text" value="{$search}"/>
		<input id="submit" type="hidden" />
	    <input type='hidden' name='s' value='{$s}'>
	    <input type='hidden' name='p' value='{$p}'>
		</fieldset>
	</form>
</div>

<div id="contentlist">
	
	<ul class="friends">
	{section name=friend_loop loop=$friends}
		<li class="friend">
	        <a href='{$url->url_create('profile',$friends[friend_loop]->user_info.user_username)}'>
		        <img src='{$friends[friend_loop]->user_photo("./images/nophoto.gif", true)}' class='photo' border='0' alt="{lang_sprintf id=509 1=$friends[friend_loop]->user_displayname_short}">
		        <span class="name">{$friends[friend_loop]->user_displayname}</span>
		        <span class="arrow"></span>
	        </a>
		</li>
	{/section}
	</ul>
</div>


{include file='imobile_footer.tpl'}